package day13.homework;

import java.io.Serializable;

public  class InternetUser extends AbstractMessage implements  Internet, Serializable {
    public InternetUser() {
        super(29.9);
    }
    public InternetUser(double price) {
        super(price);
    }

    public void print(){
        System.out.println("网虫套餐：流量128G,月租"+super.getPrice()+"元");
    }
    @Override
    public void surf() {
        System.out.println("上网方法");
    }
}
